package com.agileboot.domain.performance.submission.dto;

import cn.hutool.core.bean.BeanUtil;
import com.agileboot.domain.performance.submission.db.SubmissionEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.Date;

/**
 * 绩效上报项数据传输对象
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
public class SubmissionDTO {

    public SubmissionDTO(SubmissionEntity entity) {
        if (entity != null) {
            BeanUtil.copyProperties(entity, this);
        }
    }

    private Long id;

    private Long creatorId;
    
    private Integer owner;

    private String ownerName;

    private String creatorName;

    private Integer assessmentYear;

    private String mainCategory;

    private String subCategory;

    private String itemCategory;

    private String title;

    private String detailsJson;

    private String allocationDetails;

    private Double userReportedScore;

    private String status;

    private Integer currentAuditLevel;

    private String firstReviewerName;

    private Date firstReviewTime;

    private String secondReviewerName;

    private Date secondReviewTime;

    private String thirdReviewerName;

    private Date thirdReviewTime;

    private String rejectionReason;

    private Date createTime;

    private String fileList;
    
    private Double ownerScore;



}
